/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DomainLayer;
import TUILayer.*;
/**
 *
 * @author Middreks
 * Licensed under GNU/GPLv2
 * Credits go to Group 4
 */
public class Person {

    private int id;
    private String name;
    private String address;
    private int postalCode;
    private String city;
    private int phone;

    public Person(int id, String name, String address, int postalCode,
            String city, int phone){
        this.id = id;
        this.name = name;
        this.address = address;
        this.postalCode = postalCode;
        this.city = city;
        this.phone = phone;
    }

    public void setID(int newID) {
        id = newID;
    }

    public int getID(){
        return id;
    }

    public void setName(String newName) {
        name = newName;
    }

    public String getName() {
        return name;
    }

    public void setAddress(String newAddress) {
        address = newAddress;
    }

    public String getAddress() {
        return address;
    }

    public void setPostalCode(int newPostalCode) {
        postalCode = newPostalCode;
    }

    public int getPostalCode() {
        return postalCode;
    }

    public void setCity(String newCity) {
        city = newCity;
    }

    public String getCity() {
        return city;
    }

    public void setPhone(int newPhone) {
        phone = newPhone;
    }

    public int getPhone() {
        return phone;
    }
}
